package com.cet.designpatterns.state;

/**
 * @program: algorithm
 * @description:
 * @author: 陈恩涛
 * @create: 2021-09-26 22:04
 **/
public abstract class State {

    /**
     * 扣除积分
     */
    public abstract void deductPoints();

    /**
     * 抽奖
     * @return
     */
    public abstract boolean raffle();

    /**
     * 发放奖品
     */
    public abstract void dispensePrize();
}
